def myRev(val):
    valLen = len(val) - 1
    for index in range(valLen,-1,-1):
        yield val[index]


for i in myRev("FishC"):
    print(i,end='')
